home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
fbr181.zip
/
FBR181.DOC
< prev
next >
Wrap
Text File
|
1992-06-01
|
20KB
|
550 lines
FBR - File Backup / Restore
Version 1.8
June 1992
(c) Copyright Vernon D. Buerg 1985-92
ALL RIGHTS RESERVED
FBR is a copyrighted work and may not be distributed without
permission.
FBR - File Backup / Restore
Notice
------
This is a development test release of FBR. Use these
programs at your own risk. Although they have been
extensively tested, I take no responsiblity for any
losses.
NOT PUBLIC DOMAIN
-----------------
This document and the FBR programs are the personal property
of:
Vernon D. Buerg
139 White Oak Circle
Petaluma, CA 94952
BBS: (707) 778-8944
(707) 778-8841
(415) 994-2944
FAX: (707) 778-8728
Compuserve: 70007,1212 (Go IBMHW)
FBR is distributed by me for your personal use. You may not
charge for distributing FBR. Commercial use of FBR requires a
Commercial Distribution License from me. Corporations and
institutions may not use FBR without first obtaining a site
license.
Please let me know of any problems, criticisms, or suggestions.
Thank you.
FBR - File Backup/Restore Contents
Table of Contents
-----------------
Introduction ............................... 1
FB - File backup ........................... 2
Backup examples .......................... 3
FR - File restore .......................... 4
Restore examples ......................... 5
FS - File status ........................... 6
FLH - FBR's Little Helper .................. 7
Operational notes .......................... 8
Version history ............................ 9
FBR - File Backup / Restore Page 1
Introduction
------------
FBR is a system of four small programs which perform the backing
up and restoring of files. They are similar to the DOS
BACKUP/RESTORE utilities except that FBR can currently only
process one directory at a time, or all directories on one
drive. It does, however, back up all files in a directory,
filling as many backup disks as necessary. The FBR backup and
restore programs can select files based upon 30 file
specifications.
Programs
--------
The FBR system consists of these files:
FB.COM - used to back up files
FR.COM - used to restore FBR files
FS.COM - to report on contents of FBR files
FLH.COM - FBR's Little Helper for multiple directories
FBR.DOC - this document
It is recommended that the FR.COM program be copied to the
first diskette of each backup. This will insure that the
restore program is the correct one for restoring the files.
The file name may include a version number, e.g. FB177.COM
instead of FB.COM for the backup program.
FBR - File Backup / Restore Page 2
Backup - FB Command
-------------------
To back up files in a directory, use the FB.COM program.
FB [d:][\path][filespec] [filespec...] [/D] [/M] [/2] [/C] [/V] [/Z] [t:]
At least one command line operand must be supplied. The /Z option
tells FB to compress the files, resulting in fewer backup disks
depending on the kind of data in the files. You can expect compression
of 15 to 20% for text files, and no compression of binary or
program files.
If the first d: (drive) operand is supplied, it specifies the
drive, and/or path, and/or a file specification for the files to
be backed up. Only files matching the 'filespec' are processed.
More than one 'filespec' may be supplied. Separate each file
specification by a blank or a comma.
The IBMDOS.COM, IBMBIO.COM, MSDOS.SYS, and IO.SYS files are
ignored.
The 't:' operand specifies the target drive.
The /D operand specifies that all files on the target disk be
deleted before files are backed up to it.
The /M operand specifies that only modified files are to be
backed up, i.e. archive bit not set.
The /2 operand specifies that the target drive is to alternate
from either B to A, or from A to B. This allows backups to
continue while changing floppy diskettes.
The /C operand specifies that the archive bit for each file
copied should be reset.
The /V operand specifies that the DOS verify function should be
used. This results in slower I/O but perhaps more peace of
mind.
As each file is processed, a message is displayed telling you
the name of the file that has been copied. You may abort the
back-up by pressing ESCape or control-C.
When a backup drive fills, you are asked to ready another
diskette and to press any key. To cancel the backup at this
point, press the ESCape key. The state of the copied files is
unpredictable if you cancel the back up.
FBR - File Backup / Restore Page 3
Backup Examples:
---------------
o If the current drive is C: and the current directory
is \ME, then to backup all of the C:\ME files
onto two alternating drives, issue the following:
FB /2 -or- FB C:\ME\*.* /2 B:
o To backup only files with an extension of COM or EXE:
FB *.COM *.EXE
o Backup two files from a directory on drive D, and delete
any files already on the backup diskette:
FB d:\subdir\file1.ext file2.ext b: /D
FBR - File Backup / Restore Page 4
Restore - FR Command
--------------------
To restore files backed up by FB, use the FR.COM program.
FR [d:][\path] [filespec...] [/2] [/R] [/U] [/N] [/V] [/Q] [/Td:\path]
The 'd:' operand specifies the drive which contains the FBR
files from FB. If omitted, drive A is used.
The \path operand identifies the FBR file to use for the
restore. If omitted, the first FBR file found is used.
Up to 30 "filespec" parameters may be supplied. Only those
files which match one of the "filespecs" are restored.
The '/2' operand specifies that two drives are to be used for
restoring files. The request for readying drives alternates
from B to A, or from A to B.
The '/V' option specifies that the system verify option is to be
set on. Otherwise, verify is set off to improve speed.
The '/R' option specifies that any existing copies of the files
be over-written. If omitted, you will be asked whether or not
an existing file may be replaced. This is the fastest method
of restoring f